export default {
  template:`
    <div>
    <h2 class="title">{{message}}</h2>
    <button @click="btnClick">按钮</button>
    <h2>{{name}}</h2>
    </div>
  `,
  data(){
    return{
      message:'你好',
      name:'阿絮'
    }
  },
  methods:{
    btnClick(){
      console.log('你好，老温');
    }
  }
}